/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author ThinkGem
 */
import { defHttp } from '/@/utils/http/axios';
import { LocaleType } from '/#/config';

export const switchLang = (locale: LocaleType) => {
  return defHttp.get({ url: '/lang/' + locale });
};
